package com.yingsheng.bi.hks.dto.categories;


import com.yingsheng.bi.hks.dto.HksTransReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;

/**
 * 修改门店信息
 */
@ApiModel(value = "分类信息修改请求体")
@EqualsAndHashCode(callSuper = true)
@Data
public class CategoriesModReq extends HksTransReq {

    @ApiModelProperty(value = "门店ID",required = true)
    @NotBlank
    private String id;

    @ApiModelProperty(value = "父级标识")
    @NotBlank
    private String pid;

    @ApiModelProperty(value = "分类名称",required = true)
    @NotBlank
    private String name;

    @ApiModelProperty(value = "图片信息",required = true)
    @NotBlank
    private String images;

    @ApiModelProperty(value = "分类描述",required = true)
    @NotBlank
    private String description;
}
